#ifndef SOUND_HEADER
#define SOUND_HEADER

#include <al/alut.h>

class Sound
{
private:
	ALuint source;
	ALuint buffer;
public:
	Sound();
	~Sound();

	void Load(char*, ALfloat, ALfloat, ALfloat*, ALfloat*, ALboolean);
	void Release();

	void Play();
	void Pause();
	void Stop();

	bool IsPlaying();

	static void SetListenerPosition(ALfloat*);
	static void SetListenerVelocity(ALfloat*);
	static void SetListenerOrientation(ALfloat*);
};

#endif